package com.sjc.feign.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "SPRINGCLOUD-SAMPLE-PROVIDER")
public interface IAccountService {

    @PostMapping("/increase")
    void increaseAmount(@RequestParam("acctId") String accountId, @RequestParam("amount") double amount);

}
